package com.ruoyi.business.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.business.mapper.CqggzyProjectResultsMapper;
import com.ruoyi.business.domain.CqggzyProjectResults;
import com.ruoyi.business.service.ICqggzyProjectResultsService;

/**
 * 重庆市联交所交易结果Service业务层处理
 * 
 * @author blaze
 * @date 2025-08-08
 */
@Service
public class CqggzyProjectResultsServiceImpl implements ICqggzyProjectResultsService 
{
    @Autowired
    private CqggzyProjectResultsMapper cqggzyProjectResultsMapper;

    /**
     * 查询重庆市联交所交易结果
     * 
     * @param id 重庆市联交所交易结果主键
     * @return 重庆市联交所交易结果
     */
    @Override
    public CqggzyProjectResults selectCqggzyProjectResultsById(String id)
    {
        return cqggzyProjectResultsMapper.selectCqggzyProjectResultsById(id);
    }

    /**
     * 查询重庆市联交所交易结果列表
     * 
     * @param cqggzyProjectResults 重庆市联交所交易结果
     * @return 重庆市联交所交易结果
     */
    @Override
    public List<CqggzyProjectResults> selectCqggzyProjectResultsList(CqggzyProjectResults cqggzyProjectResults)
    {
        return cqggzyProjectResultsMapper.selectCqggzyProjectResultsList(cqggzyProjectResults);
    }

    /**
     * 新增重庆市联交所交易结果
     * 
     * @param cqggzyProjectResults 重庆市联交所交易结果
     * @return 结果
     */
    @Override
    public int insertCqggzyProjectResults(CqggzyProjectResults cqggzyProjectResults)
    {
        return cqggzyProjectResultsMapper.insertCqggzyProjectResults(cqggzyProjectResults);
    }

    /**
     * 修改重庆市联交所交易结果
     * 
     * @param cqggzyProjectResults 重庆市联交所交易结果
     * @return 结果
     */
    @Override
    public int updateCqggzyProjectResults(CqggzyProjectResults cqggzyProjectResults)
    {
        return cqggzyProjectResultsMapper.updateCqggzyProjectResults(cqggzyProjectResults);
    }

    /**
     * 批量删除重庆市联交所交易结果
     * 
     * @param ids 需要删除的重庆市联交所交易结果主键
     * @return 结果
     */
    @Override
    public int deleteCqggzyProjectResultsByIds(String[] ids)
    {
        return cqggzyProjectResultsMapper.deleteCqggzyProjectResultsByIds(ids);
    }

    /**
     * 删除重庆市联交所交易结果信息
     * 
     * @param id 重庆市联交所交易结果主键
     * @return 结果
     */
    @Override
    public int deleteCqggzyProjectResultsById(String id)
    {
        return cqggzyProjectResultsMapper.deleteCqggzyProjectResultsById(id);
    }
}
